package com.example.onlinemonitoring.model;

import javax.persistence.*;

@Table(name = "appdevice_temp")
public class AppdeviceTemp {
    @Id
    private Integer id;

    private String name;

    private String ename;

    private String type;

    private String simple;

    private Integer pointcount;

    private String cmd;
    private Integer baudrate;
    /**
     * 实时表名称
     */
    private String sensor;
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
    private String img;
    public Integer getBaudrate() {
        return baudrate;
    }

    public void setBaudrate(Integer baudrate) {
        this.baudrate = baudrate;
    }

    /**
     * 历史表名称
     */
    private String history;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return ename
     */
    public String getEname() {
        return ename;
    }

    /**
     * @param ename
     */
    public void setEname(String ename) {
        this.ename = ename;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return simple
     */
    public String getSimple() {
        return simple;
    }

    /**
     * @param simple
     */
    public void setSimple(String simple) {
        this.simple = simple;
    }

    /**
     * @return pointcount
     */
    public Integer getPointcount() {
        return pointcount;
    }

    /**
     * @param pointcount
     */
    public void setPointcount(Integer pointcount) {
        this.pointcount = pointcount;
    }

    /**
     * @return cmd
     */
    public String getCmd() {
        return cmd;
    }

    /**
     * @param cmd
     */
    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    /**
     * 获取实时表名称
     *
     * @return sensor - 实时表名称
     */
    public String getSensor() {
        return sensor;
    }

    /**
     * 设置实时表名称
     *
     * @param sensor 实时表名称
     */
    public void setSensor(String sensor) {
        this.sensor = sensor;
    }

    /**
     * 获取历史表名称
     *
     * @return history - 历史表名称
     */
    public String getHistory() {
        return history;
    }

    /**
     * 设置历史表名称
     *
     * @param history 历史表名称
     */
    public void setHistory(String history) {
        this.history = history;
    }
}